
package XtiConta;


public class ContaTeste {
    public static void main(String[] args) {
        Conta conta = new Conta ();
        conta.cliente = "Ricardo";
        conta.saldo = 10_000.00;
        conta.exibe();
        
        conta.saca(1000);
        conta.exibe();
        
        conta.deposita(6000);
        conta.exibe();
        
        Conta destino = new Conta();
        destino.cliente = "Eni";
        destino.saldo = 8_000.00;
        destino.exibe();
        
        conta.trasferePara(destino, 1550.00);
        conta.exibe();
        destino.exibe();
        
       destino.deposita(2450.00);
       destino.exibe();
        
    }
}
